﻿namespace Fast.Tests
{
    public class JsonSerializeTestClass
    {
        public int Id { get; set; }
        public string UserName { get; set; }
        public int Age { get; set; }
        public string Address { get; set; }

        public override bool Equals(object obj)
        {
            return Id == ((JsonSerializeTestClass)obj).Id &&
                   UserName == ((JsonSerializeTestClass)obj).UserName &&
                   Age == ((JsonSerializeTestClass)obj).Age &&
                   Address == ((JsonSerializeTestClass)obj).Address;
        }
    }
}
